package cn.tedu.profiles.service.impl;

import cn.tedu.profiles.mapper.ProfilesMapper;
import cn.tedu.profiles.pojo.param.ProfilesParam;
import cn.tedu.profiles.pojo.vo.ProfilesVO;
import cn.tedu.profiles.service.ProfilesService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class ProfilesServiceImpl implements ProfilesService {
    @Autowired
     ProfilesMapper profilesMapper;

    @Override
    public List<ProfilesVO> queryprofiles(ProfilesParam profilesParam) {
        log.debug("搜收框+{}",profilesParam);
        List<ProfilesVO> list = profilesMapper.queryProfiles(profilesParam);
        return list;
    }
}
